<template>
  <el-container class="home">
    <el-aside width="200px">
      <Aside class="aside" />
    </el-aside>
    <el-main>
      <el-container class="main-main">
        <el-header>
          <el-card>用户头像</el-card>
        </el-header>
        <el-main>
          <router-view  class="main-card"/>
        </el-main>
      </el-container>
    </el-main>
  </el-container>
</template>

<script>
import Aside from '@/components/Aside'
export default {
  name: 'Home',
  components: {
    Aside
  }
}
</script>

<style lang="less" scoped>
.home,
.aside,
.el-main,
.main-main {
  height: 100%;
}
</style>
